package com.talkweb.securitycamera.utils.eventlib.communicationevent;


import ohos.event.commonevent.CommonEventSupport;

/**
 * @version 1.0.1
 * @description:
 * @program: Gallery
 * @Author xiaozhijun
 * @Date 2020/12/23 8:49
 */
public class MsgConstant {


    /**
     * 系统公共事件的主题
     */
    public static class EventSysTopic {

        //外部设备弹出
        public static final String COMMON_EVENT_DISK_EJECT = CommonEventSupport.COMMON_EVENT_DISK_EJECT;

        //外部存储设备在未卸载的情况下被删除
        public static final String COMMON_EVENT_DISK_BAD_REMOVAL = CommonEventSupport.COMMON_EVENT_DISK_BAD_REMOVAL;

        //外部存储设备的挂载事件
        public static final String COMMON_EVENT_DISK_MOUNTED = CommonEventSupport.COMMON_EVENT_DISK_MOUNTED;

        //外部设备的移除操作
        public static final String COMMON_EVENT_DISK_REMOVED = CommonEventSupport.COMMON_EVENT_DISK_REMOVED;

        //外部设备的卸载操作
        public static final String COMMON_EVENT_DISK_UNMOUNTED = CommonEventSupport.COMMON_EVENT_DISK_UNMOUNTED;

        //wifi链接状态变化
        public static final String COMMON_EVENT_WIFI_CONN_STATE = CommonEventSupport.COMMON_EVENT_WIFI_CONN_STATE;

        //开机启动加载
        public static final String COMMON_EVENT_BOOT_COMPLETED = CommonEventSupport.COMMON_EVENT_BOOT_COMPLETED;
    }

    /**
     * 用户自定义公共事件主题 以及通信主题
     */
    public static class EventUserTopic {

        //大图浏览更新回调
        public static final String COMMON_EVENT_PIC_DATA_CHANGR = "common_event_pic_data_change";

        public static final String COMMON_EVENT_VIEW_CHANGR = "common_event_view_change";


    }

}
